package com.xjrsoft.module.customer.erp_model.eRP_FinanceReceipt.service;

import com.xjrsoft.module.customer.erp_model.eRP_FinanceReceipt.entity.ErpFinancereceipt;
import com.xjrsoft.module.customer.erp_model.eRP_FinanceReceipt.entity.ErpFinancereceiptbill;
import com.xjrsoft.module.customer.erp_model.eRP_FinanceReceipt.dto.ErpFinancereceiptListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjrsoft.common.page.PageOutput;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *  服务类
 *
 * @author pp
 * @since 2021-09-23
 */
public interface IErpFinancereceiptService extends IService<ErpFinancereceipt> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<ErpFinancereceipt> getPageList(ErpFinancereceiptListDto pageListDto);

	List<ErpFinancereceiptbill> getErpFinancereceiptbillByParentId(String parentId);
	String addErpFinancereceipt(ErpFinancereceipt erpFinancereceipt, List<ErpFinancereceiptbill> erpFinancereceiptbillList);

	boolean updateErpFinancereceipt(String id, ErpFinancereceipt erpFinancereceipt, List<ErpFinancereceiptbill> erpFinancereceiptbillList);
}
